import http from "@/utils/fetch";


// 获取投诉类型
export function getSuggestType(params) {
  return http.get("/Admin/Complaint/getSuggestType", params);
}
// 投诉列表
export function complaintList(params) {
  return http.post("/Admin/Complaint/complaintList", params);
}
// 查看
export function lookDetail(id) {
  return http.get("/Admin/Complaint/look", {id});
}
// 介入
export function intervene(params) {
  return http.post("/Admin/Complaint/intervene", params)
}
// 客服备注记录
export function remarksRecord(id) {
  return http.get("/Admin/Complaint/remarksRecord", {id})
}
// 添加客服备注
export function addRemarks(params) {
  return http.post("/Admin/Complaint/addRemarks", params)
}

// 投诉反馈内容列表
export function complainList(params) {
  return http.get("/Admin/Complaint/complainList", params)
}

// 投诉反馈内容详情
export function complainDetail(id) {
  return http.get("/Admin/Complaint/complainDetail", {id})
}

// 投诉反馈内容详情
export function complainimage(params) {
  return http.post("/Admin/Complaint/complainimage", params)
}

// 反馈内容
export function complainfeedback(params) {
  return http.post("/Admin/Complaint/complainfeedback", params)
}

// 预审通过订单处理列表
export function getOrderCheckList(params) {
  return http.post("/Admin/Complaint/getOrderCheckList",params)
}
// 添加预审订单线索备注
export function setOrderCheckClueRemark(params) {
  return http.post("/Admin/Complaint/setOrderCheckClueRemark", params)
}
// 查看预审订单线索备注
export function getOrderCheckClueRemark(order_id) {
  return http.post("/Admin/Complaint/getOrderCheckClueRemark", {order_id})
}
// 获取预审订单线索
export function getUserOrderCheckClue() {
  return http.post("/Admin/Complaint/getUserOrderCheckClue")
}